home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 9160 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: fc.hp.com!tomk
  2. From: tomk@fc.hp.com (Tom Kennedy)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: AmigaOS 4.x features
  5. Date: 22 Mar 1996 00:31:25 GMT
  6. Organization: Hewlett-Packard Fort Collins Site
  7. Message-ID: <4issct$j62@fcnews.fc.hp.com>
  8. References: <4h2p87$nu@news.rhrz.uni-bonn.de> <4i4u9n$ppa@news.rhrz.uni-bonn.de> <4ijp0j$7q2@news.rhrz.uni-bonn.de> <4ippgq$npk@news.rhrz.uni-bonn.de>
  9. NNTP-Posting-Host: magnum.fc.hp.com
  10. X-Newsreader: TIN [version 1.2 PL1.4]
  11.  
  12. Bernhard Fastenrath (fasten@zeus.informatik.uni-bonn.de) wrote:
  13. : : I'd like to hit Ctrl-Z in a CLI window and get a shell prompt even though
  14. : : the current programm wasn't started in background. Since there's no
  15. : : SIGSTOP in AmigaOS the output could be stopped by blocking during a write().
  16. : : The console handler would have to notify the shell so it can display another
  17. : : prompt and add the stopped job to a list which can be displayed by a
  18. : : builtin "jobs" command. Any comments?
  19. : And a pipe symbol, just like Unix. Some people don't like these unixsisms but
  20. : I think pipes and job control shouldn't hurt anybody ;-)
  21.  
  22. We have pipe symbols!  You just need to define the local environment
  23. variable "_pchar" (or something like that... I can't check now since
  24. I'm not home).
  25.  
  26. This tells the OS to redirect the command line to the PIPE program --
  27. which then handles the rest of the job (forking off each process and
  28. linking the STDINs and STDOUTs together.)
  29.  
  30. There's a archive on Aminet written by an ex-C= engineer that explains
  31. how to do this (and includes the missing PIPE program).
  32.  
  33. So, the hooks are there for the standard amiga shell -- AT just needs
  34. to start shipping "PIPE" with the OS, and define the pipe character
  35. variable in the standard startup-sequence.
  36.  
  37. I have no idea why this wasn't done for 2.1/3.0...  PIPE on aminet
  38. dates back to the 2.04 days!
  39.  
  40. Tom Kennedy
  41.